/// attachList : []
/// attatchIds : ""
/// bedId : 1991
/// bedNo : "104-1"
/// branchId : 6627
/// canAudit : false
/// conclusion : null
/// consequence : null
/// contact : "13456800305"
/// createdBy : "8952"
/// createdDate : "2024-07-05 10:16:14"
/// createdName : "护理员小陈"
/// date1 : null
/// deleteStatus : 0
/// dutyLeader : null
/// dutyLeaderName : null
/// eventNature : "IMPORTANT_EVENT"
/// eventNatureName : "重大事件"
/// eventType : "IMPORTANT_EVENT_2"
/// eventTypeName : "走失"
/// firstHandler : "护理员小陈"
/// humanId : 7021
/// id : 5067293910659072
/// incident : null
/// isSave : null
/// measures : null
/// name : "朱金军"
/// relatedType : "2"
/// relatedTypeName : "家属"
/// remark : null
/// roomId : 1266
/// roomNo : "104"
/// saasId : 1000
/// startDate : "2024-07-15 00:00:00"
/// status : 4
/// statusName : "已发布"
/// tenantId : 1000
/// updatedBy : "8952"
/// updatedDate : "2024-07-05 10:16:21"

class EmergencyEventListData {
  EmergencyEventListData({
      this.attachList, 
      this.attatchIds, 
      this.bedId, 
      this.bedNo, 
      this.branchId, 
      this.canAudit, 
      this.conclusion, 
      this.consequence, 
      this.contact, 
      this.createdBy, 
      this.createdDate, 
      this.createdName, 
      this.date1, 
      this.deleteStatus, 
      this.dutyLeader, 
      this.dutyLeaderName, 
      this.eventNature, 
      this.eventNatureName, 
      this.eventType, 
      this.eventTypeName, 
      this.firstHandler, 
      this.humanId, 
      this.id, 
      this.incident, 
      this.isSave, 
      this.measures, 
      this.name, 
      this.relatedType, 
      this.relatedTypeName, 
      this.remark, 
      this.roomId, 
      this.roomNo, 
      this.saasId, 
      this.startDate, 
      this.status, 
      this.statusName, 
      this.tenantId, 
      this.updatedBy, 
      this.updatedDate,});

  EmergencyEventListData.fromJson(dynamic json) {
    attachList = json['attachList']??[];
    attatchIds = json['attatchIds'];
    bedId = json['bedId'];
    bedNo = json['bedNo'];
    branchId = json['branchId'];
    canAudit = json['canAudit'];
    conclusion = json['conclusion'];
    consequence = json['consequence'];
    contact = json['contact'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    createdName = json['createdName'];
    date1 = json['date1'];
    deleteStatus = json['deleteStatus'];
    dutyLeader = json['dutyLeader'];
    dutyLeaderName = json['dutyLeaderName'];
    eventNature = json['eventNature'];
    eventNatureName = json['eventNatureName'];
    eventType = json['eventType'];
    eventTypeName = json['eventTypeName'];
    firstHandler = json['firstHandler'];
    humanId = json['humanId'];
    id = json['id'];
    incident = json['incident'];
    isSave = json['isSave'];
    measures = json['measures'];
    name = json['name'];
    relatedType = json['relatedType'];
    relatedTypeName = json['relatedTypeName'];
    remark = json['remark'];
    roomId = json['roomId'];
    roomNo = json['roomNo'];
    saasId = json['saasId'];
    startDate = json['startDate'];
    status = json['status'];
    statusName = json['statusName'];
    tenantId = json['tenantId'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  List<dynamic>? attachList;
  String? attatchIds;
  num? bedId;
  String? bedNo;
  num? branchId;
  bool? canAudit;
  dynamic conclusion;
  dynamic consequence;
  String? contact;
  String? createdBy;
  String? createdDate;
  String? createdName;
  dynamic date1;
  num? deleteStatus;
  dynamic dutyLeader;
  dynamic dutyLeaderName;
  String? eventNature;
  String? eventNatureName;
  String? eventType;
  String? eventTypeName;
  String? firstHandler;
  num? humanId;
  num? id;
  dynamic incident;
  dynamic isSave;
  dynamic measures;
  String? name;
  String? relatedType;
  String? relatedTypeName;
  dynamic remark;
  num? roomId;
  String? roomNo;
  num? saasId;
  String? startDate;
  num? status;
  String? statusName;
  num? tenantId;
  String? updatedBy;
  String? updatedDate;
EmergencyEventListData copyWith({  List<dynamic>? attachList,
  String? attatchIds,
  num? bedId,
  String? bedNo,
  num? branchId,
  bool? canAudit,
  dynamic conclusion,
  dynamic consequence,
  String? contact,
  String? createdBy,
  String? createdDate,
  String? createdName,
  dynamic date1,
  num? deleteStatus,
  dynamic dutyLeader,
  dynamic dutyLeaderName,
  String? eventNature,
  String? eventNatureName,
  String? eventType,
  String? eventTypeName,
  String? firstHandler,
  num? humanId,
  num? id,
  dynamic incident,
  dynamic isSave,
  dynamic measures,
  String? name,
  String? relatedType,
  String? relatedTypeName,
  dynamic remark,
  num? roomId,
  String? roomNo,
  num? saasId,
  String? startDate,
  num? status,
  String? statusName,
  num? tenantId,
  String? updatedBy,
  String? updatedDate,
}) => EmergencyEventListData(  attachList: attachList ?? this.attachList,
  attatchIds: attatchIds ?? this.attatchIds,
  bedId: bedId ?? this.bedId,
  bedNo: bedNo ?? this.bedNo,
  branchId: branchId ?? this.branchId,
  canAudit: canAudit ?? this.canAudit,
  conclusion: conclusion ?? this.conclusion,
  consequence: consequence ?? this.consequence,
  contact: contact ?? this.contact,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  createdName: createdName ?? this.createdName,
  date1: date1 ?? this.date1,
  deleteStatus: deleteStatus ?? this.deleteStatus,
  dutyLeader: dutyLeader ?? this.dutyLeader,
  dutyLeaderName: dutyLeaderName ?? this.dutyLeaderName,
  eventNature: eventNature ?? this.eventNature,
  eventNatureName: eventNatureName ?? this.eventNatureName,
  eventType: eventType ?? this.eventType,
  eventTypeName: eventTypeName ?? this.eventTypeName,
  firstHandler: firstHandler ?? this.firstHandler,
  humanId: humanId ?? this.humanId,
  id: id ?? this.id,
  incident: incident ?? this.incident,
  isSave: isSave ?? this.isSave,
  measures: measures ?? this.measures,
  name: name ?? this.name,
  relatedType: relatedType ?? this.relatedType,
  relatedTypeName: relatedTypeName ?? this.relatedTypeName,
  remark: remark ?? this.remark,
  roomId: roomId ?? this.roomId,
  roomNo: roomNo ?? this.roomNo,
  saasId: saasId ?? this.saasId,
  startDate: startDate ?? this.startDate,
  status: status ?? this.status,
  statusName: statusName ?? this.statusName,
  tenantId: tenantId ?? this.tenantId,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (attachList != null) {
      map['attachList'] = attachList?.map((v) => v.toJson()).toList();
    }
    map['attatchIds'] = attatchIds;
    map['bedId'] = bedId;
    map['bedNo'] = bedNo;
    map['branchId'] = branchId;
    map['canAudit'] = canAudit;
    map['conclusion'] = conclusion;
    map['consequence'] = consequence;
    map['contact'] = contact;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['createdName'] = createdName;
    map['date1'] = date1;
    map['deleteStatus'] = deleteStatus;
    map['dutyLeader'] = dutyLeader;
    map['dutyLeaderName'] = dutyLeaderName;
    map['eventNature'] = eventNature;
    map['eventNatureName'] = eventNatureName;
    map['eventType'] = eventType;
    map['eventTypeName'] = eventTypeName;
    map['firstHandler'] = firstHandler;
    map['humanId'] = humanId;
    map['id'] = id;
    map['incident'] = incident;
    map['isSave'] = isSave;
    map['measures'] = measures;
    map['name'] = name;
    map['relatedType'] = relatedType;
    map['relatedTypeName'] = relatedTypeName;
    map['remark'] = remark;
    map['roomId'] = roomId;
    map['roomNo'] = roomNo;
    map['saasId'] = saasId;
    map['startDate'] = startDate;
    map['status'] = status;
    map['statusName'] = statusName;
    map['tenantId'] = tenantId;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}